import { createApp } from "vue";
import map2d from "@/components/mapModule/index.vue";
import pinia from "./stores";
import App from "./App.vue";
import router from "./router";
// 引入组件样式
import "vant/lib/index.css";
// import "./style/main.scss";
import "@/utils/uni.webview.1.5.6.js";

import "uno.css";
import svgIcon from "@/components/svgIcon/index.vue";

const app = createApp(App);
app.component("svgIcon", svgIcon);
app.component("map2d", map2d);
app.use(pinia);
app.use(router);

// 由于项目使用了unplugin-vue-components/resolvers的VantResolver，
// 会自动注册用到的Vant组件，无需手动导入

app.mount("#app");


